#!/bin/bash

devImageName="ccr.ccs.tencentyun.com/dev-kangzhan/appshortcuts-h5"
echo $devImageName
  
imagetag=`date +%Y%m%d-%H%M%S`

echo $imagetag

dockerfile="./Dockerfile"

 
docker build --rm -f $dockerfile -t $devImageName:$imagetag .

docker images $devImageName

docker login --username 100005857841 --password 123456abcD. ccr.ccs.tencentyun.com

docker push $devImageName:$imagetag
